import QtQuick
import QtQuick.Controls

Image {
    id: zInputImage
    x: 40
    y: 155
    source: "qrc:/assets/input.png"
    width: 721
    height: 63
    fillMode: Image.PreserveAspectFit

    property alias text: textField.text
    property alias placeholderText: textField.placeholderText
    property alias echoMode: textField.echoMode
    property alias validator: textField.validator
    //signal textChanged

    TextField{
        id: textField
        leftPadding:10
        verticalAlignment: Text.AlignVCenter
        anchors.fill: parent
        focus: true
        font.pixelSize: 24
        placeholderText: ""
        placeholderTextColor: "#D1D3D8"
        background: null
        // onTextChanged: {
        //     console.log("onTextChanged:", text)
        //     //zInputImage.textChanged();
        // }
    }
}
